#pragma once

#include "IJsonSerializable.h"

class RecogData : public IJsonSerializable
{
public:
    // 料盘编号
    QString trayNo;
    QString timestamp;
    int col = 0;
    int row = 0;
    QString result;
    double precise = 0.0;
    double weight = 0.0;

public: // IJsonSerializable
    void fromJson(const QJsonObject& src, QStringList& errorList) override;
    QJsonObject toJson() const override;
};
